package tictactoe.multiplayer;


public class Message {
    //client -> server
    public static final String CONNECT = "connect";
    public static final String GET_PLAYERS = "get_players";
    public static final String PLAY_WITH = "play_with";
    public static final String ACCEPT = "accept";
    public static final String MOVE = "move";
    public static final String DISCONNECT = "disconnect";

    //server -> client
    public static final String CONNECTED = "connected";
    public static final String PLAYERS = "players";
    public static final String WANT_PLAY = "want_play";
    public static final String ACCEPTED = "accepted";
    public static final String OTHER_MOVE = "other_move";
    public static final String OTHER_DISCONNECTED = "other_disconnected";
    public static final String EXCEPTION = "exception";
    public static final String SERVER_DOWN = "server_down";
}
